package cn.service.impl;

import cn.service.PmsProductService;
import entity.Result;
import mapper.PmsProductMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PmsProductServiceImpl implements PmsProductService {
    @Resource
    PmsProductMapper pmsProductMapper;

    @Override
    public Result selectProductNumByBrandId(Integer brand_id) {
        return Result.success(pmsProductMapper.selectProductNumByBrandId(brand_id));
    }
}
